package com.stef.saas.ssm.feign;

import com.stef.saas.common.base.dto.BaseResult;
import com.stef.saas.ssm.feign.fallback.UmsClientFallBack;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mississipi-saas-oa", fallback = UmsClientFallBack.class)
public interface OaClient {


    @ApiOperation(value = "CRM echo")
    @GetMapping("/ssm/oa")
    BaseResult echo(@RequestParam(value = "msg") String msg);
}
